package com.muli.muwai.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muli.muwai.entity.IntfStylist;
import com.muli.muwai.mapper.StylistMapper;
import com.muli.muwai.service.StylistService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StylistServiceImpl extends ServiceImpl<StylistMapper, IntfStylist> implements StylistService {
    @Override
    public void saveStylist(List<IntfStylist> stylist) {
        saveBatch(stylist);
    }

    @Override
    public void deleteData() {
        int delete = baseMapper.delete(null);
        System.out.println(delete);
    }
}
